package com.thinkfit.jy.contract;

import com.common.lib.bean.SportInfoBean;
import com.common.lib.bean.SportRecordBean;
import com.common.lib.bean.VideoBean;
import com.common.lib.mvp.IPresenter;
import com.common.lib.mvp.IView;

import java.util.ArrayList;

public interface SportRecordContract {

    public interface View extends IView {
        public void getSportInfoSuccess(SportInfoBean bean);

        public void getSportRecordSuccess(int page, ArrayList<SportRecordBean> list);

        public void getSportRecordFailed();

        public void getVideoCourseFailed();
        public void getVideoCourseSuccess(int page, ArrayList<VideoBean> list);
    }

    public interface Presenter extends IPresenter {

        public void getSportInfo();
        public void getVideoCourse(int type,int page);

        public void getSportRecord(int page);
    }
}
